#region Copyright RenGuiYou. All rights reserved.
//=====================================================
// NeatlyFrameWork
// Author:      RenGuiyou
// Feedback: 	mailto:750539605@qq.com
//=====================================================
#endregion

using UnityEngine;
using UnityEngine.EventSystems;

namespace Neatly.UI
{
    [RequireComponent(typeof(RectTransform))]
    public class NUIBehaviour : UIBehaviour
    {
        private RectTransform m_RectTransform;
        public RectTransform rectTransform
        {
            get
            {
                if (!m_RectTransform)
                {
                    m_RectTransform = transform as RectTransform;
                }
                return m_RectTransform;
            }
        }
    }
}
